package com.cherish.screen.db.mapper;

import com.cherish.screen.db.entity.ExceptionLog;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * @ClassName
 * @Author cherish
 * @Date 2019/11/28
 * @Description TODO
 */
@Mapper
public interface ExceptionLogMapper {


    int insert(ExceptionLog record);

    @Select("select * from t_exception_log where id = #{id}")
    ExceptionLog selectByPrimaryKey(@Param("id") Long id);

    @Select("select * from t_exception_log order by id desc")
    List<ExceptionLog> selectAll();


}
